package com.example.springbooteasycode.utils.word;

/**
 * base64图片前缀
 *
 * @author ymm
 */
public enum ImageFileTypeBase64PrefixEnum {
    /**
     * png格式
     */
    PNG("0", "data:image/png"),
    /**
     * jpeg格式
     */
    JPEG("1", "data:image/jpeg"),

    /**
     * GIF格式
     */
    GIF("2", "data:image/gif");

    private String code;
    private String name;

    ImageFileTypeBase64PrefixEnum(String code, String name) {
        this.code = code;
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

}
